package F_and_S;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86138
 * Date: 2024-05-28
 * Time: 12:17
 */
public class Test {
    public static void main(String[] args) {

        Dog dog = new Dog();
        {
            dog.name = "小黄";
            dog.color = 1;
            dog.age = 2;
        }
        dog.bark();

        Cat cat = new Cat();
        {
            cat.name = "喵喵";
            cat.color = 5;
            cat.age = 1;
        }
        cat.bark();
    }
}
